{% from 'common/_macros.html' import static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% include 'common/_heads.html' %}
    <title>找回密码</title>
    <link rel="stylesheet" href="{{ static('cms/css/foundPwd.css') }}">
    <script src="{{ static('common/get_email_captcha.js') }}"></script>
    <script src="{{ static('cms/js/cms_fpwd.js') }}"></script>
</head>
<body>
    <form action="" method="post">
        <div class="form-container">
            <h4>找回密码</h4>
            <div class="form-group">
                <div class="input-group">
                    <input type="email" class="form-control" name="email" placeholder="请输入您的邮箱">
                    <span class="input-group-addon" id="captcha-btn" style="cursor: pointer;">获取验证码</span>
                </div>
            </div>
            <div class="form-group">
                <input type="text" class="form-control" name="captcha" placeholder="输入验证码">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" required name="password" placeholder="输入新密码">
            </div>
            <div class="form-group">
                    <button class="btn btn-primary" id="submit-fpwd-btn">立即修改</button>
                    <a href="{{ url_for('cms.login') }}" class="btn btn-warning" style="float: right">返回登录</a>
            </div>
        </div>
    </form>
</body>
</html>